#!/bin/sh
ant
appwebdir=/opt/inquiry/apache-tomcat-6.0.18/webapps/appweb/WEB-INF
classpath="build:src:lib/junit.jar:/opt/inquiry/apache-tomcat-6.0.18/lib//servlet-api.jar"
files=`find $appwebdir -name "*.jar"`
for file in $files
do
    classpath=${classpath}:$file
done
classpath=${classpath}:$appwebdir/modules/rampart-1.4.mar:$appwebdir/modules/rahas-1.4.mar:$appwebdir/classes
#echo $classpath
echo run command
#echo java -cp $classpath net.bioteam.appweb.ws.client.program.ProgramTest $@
java -Dlog4j.configuration=appwebwslog.properties -Djava.library.path=/opt/inquiry/Perl5ScriptEngine/misc -cp $classpath net.bioteam.appweb.Test $@
